package exsun.jt808.data.jt809_data.vehicledynamic.slave;

import exsun.jt808.data.jt809_data.BasicVehicleInfo;
import exsun.jt808.data.jt809_data.ReceiveEntityBase;

/**
 * 结束车辆定位信息交换请求消息
 */
public class DownExgMsgReturnEnd extends ReceiveEntityBase {
    /**
     * 车辆基本信息
     */
    private BasicVehicleInfo basicVehicleInfo;
    /**
     * 结束车辆定位信息交换的原因
     * 0：车辆离开指定区域
     * 1：人工停止交换
     * 2：紧急监控完成；
     * 3：其他原因
     */
    private int reasonCode;

    public BasicVehicleInfo getBasicVehicleInfo() {
        return basicVehicleInfo;
    }

    public void setBasicVehicleInfo(BasicVehicleInfo basicVehicleInfo) {
        this.basicVehicleInfo = basicVehicleInfo;
    }

    public int getReasonCode() {
        return reasonCode;
    }

    public void setReasonCode(int reasonCode) {
        this.reasonCode = reasonCode;
    }
}
